package tm.pojo;

/**
 * @author Rocky
 * @create 2022-09-27 18:37
 */
public class TanswerPojo {
    private Integer userId;

    private String questionOpstionPojo;

    private Long createtime;

    private Integer deviationA;

    private Integer deviationB;

    private Integer deviationC;

    private Integer deviationD;

    private Integer deviationE;

    public TanswerPojo() {
    }

    private TanswerPojo(Builder builder) {
        setUserId(builder.userId);
        setQuestionOpstionPojo(builder.questionOpstionPojo);
        setCreatetime(builder.createtime);
        setDeviationA(builder.deviationA);
        setDeviationB(builder.deviationB);
        setDeviationC(builder.deviationC);
        setDeviationD(builder.deviationD);
        setDeviationE(builder.deviationE);
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getQuestionOpstionPojo() {
        return questionOpstionPojo;
    }

    public void setQuestionOpstionPojo(String questionOpstionPojo) {
        this.questionOpstionPojo = questionOpstionPojo;
    }

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public Integer getDeviationA() {
        return deviationA;
    }

    public void setDeviationA(Integer deviationA) {
        this.deviationA = deviationA;
    }

    public Integer getDeviationB() {
        return deviationB;
    }

    public void setDeviationB(Integer deviationB) {
        this.deviationB = deviationB;
    }

    public Integer getDeviationC() {
        return deviationC;
    }

    public void setDeviationC(Integer deviationC) {
        this.deviationC = deviationC;
    }

    public Integer getDeviationD() {
        return deviationD;
    }

    public void setDeviationD(Integer deviationD) {
        this.deviationD = deviationD;
    }

    public Integer getDeviationE() {
        return deviationE;
    }

    public void setDeviationE(Integer deviationE) {
        this.deviationE = deviationE;
    }

    public static final class Builder {
        private Integer userId;
        private String questionOpstionPojo;
        private Long createtime;
        private Integer deviationA;
        private Integer deviationB;
        private Integer deviationC;
        private Integer deviationD;
        private Integer deviationE;

        public Builder() {
        }

        public Builder userId(Integer val) {
            userId = val;
            return this;
        }

        public Builder questionOpstionPojo(String val) {
            questionOpstionPojo = val;
            return this;
        }

        public Builder createtime(Long val) {
            createtime = val;
            return this;
        }

        public Builder deviationA(Integer val) {
            deviationA = val;
            return this;
        }

        public Builder deviationB(Integer val) {
            deviationB = val;
            return this;
        }

        public Builder deviationC(Integer val) {
            deviationC = val;
            return this;
        }

        public Builder deviationD(Integer val) {
            deviationD = val;
            return this;
        }

        public Builder deviationE(Integer val) {
            deviationE = val;
            return this;
        }

        public TanswerPojo build() {
            return new TanswerPojo(this);
        }
    }
}
